GetUpdateID
TheGetUpdateID
method returns the update ID that uniquely identifies the current generation or version of the link source content.
ODUpdateID GetUpdateID ();
- return value
- The current update ID of the link source content.
DISCUSSION
If your part contains a destination of this link, you can call this method to determine the current version of the content of the link-source object. You can compare the returned update ID with a previously saved ID to establish whether the source content has been modified since you last read it. There is no implicit ordering of update ID values: they offer tests for equality only, with no indication of the time or nature of any link changes.You can arrange for your part to receive automatic notification of content updates by calling the
RegisterDependent
method.EXCEPTIONS
kODErrBrokenLink
- Internal error; the link-source object disconnected from its destinations.
SEE ALSO
TheODUpdateID
type (page 917).
TheODLink::RegisterDependent
method (page 355).
TheODLinkSource::ContentUpdated
method (page 378).
"Updating a Link at the Destination" on page 384 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help